/**
 * Created by chenqian on 2017/12/28.
 */
import React, {Component} from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';

class GRHome extends Component {
	render() {
		return (
			<div>
				首页
				{JSON.stringify(this.props.data)}
			</div>
		);
	}
}

function mapToState(state) {
	return {data: state}
}

function mapDispatchToProps(dispatch) {
	return bindActionCreators({
	
	}, dispatch);
}

export default connect(mapToState, mapDispatchToProps)(GRHome);
